using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace Controls
{
    public abstract class DataManagerYCodeControl : BaseDataManagerControl<DAL.YCode>
    {
        public DAL.YCode CurrentYCode
        {
            get
            {
                return CurrentItem;
            }
            set
            {
                CurrentItem = value;
            }
        }

        protected override DAL.YCode GetItem(long id)
        {
            return DAL.YCodes.Item(id);
        }
    }
}